import { Validator } from "@/Validators/Validator";
import { RecordState } from "@/State/RecordState";
import { PersonState } from "@/State/PersonState";

export type StringOrNull = string | null;
export type DateOrNull = Date | null;
export type RuleResponse = string | boolean;

export type Rules = Array<Validator<never>>;

export type PersonRecord = RecordState & PersonState;
